Google Cookie
This bit of magic here is the starting to point to understanding what data you can use from the google cookie.
<h1>
<script type="text/javascript">
function readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
 
function googleCookieReferrer()
{
var feed=readCookie("__utmz");
feed=feed.split("|");
feed=feed[0].split("=");
return feed[1];
}
alert (googleCookieReferrer());
if (googleCookieReferrer() == "(direct)")
{
document.write("Title for direct visitors or the ones with unknown referrer");
}
else if (googleCookieReferrer() == "domain.com")
{
document.write("Title for visitors referred by domain.com");
}
else if (googleCookieReferrer() == "google")
{
document.write("Title for visitors coming from search engines");
}
else document.write("Default Title");
 
</script>
<noscript>Default Title</noscript>
</h1>